package ModelLayer;

/**
 * An employee object.
 * 31/05/2012
 * @author cbjerg
 * @version 0.1
 */

public class Employee {
		
		private int empId;
		private String name;
		private String address;
		private int zip;
		private String city;
		private int phoneNumber;
		private String email;
		private String jobTitle;
		private String login;
		private double wage;
		
		/**
		 * Creates a employee object with empty empId.
		 * @param name The name of the employee.
		 * @param address The adress of the employee.
		 * @param zip The zip code of the Employee.
		 * @param city The city of the employee.
		 * @param phoneNumber The phoneNumber of the employee.
		 * @param email The email of the employee.
		 * @param jobTitle The jobTitle of the employee.
		 * @param login The login name of the employee.
		 * @param wage The monthly wage of the employee. 
		 */
		
		public Employee(String name, String address, int zip, String city, int phoneNumber, String email, String jobTitle, String login, double wage) 
		{
			empId = 0;
			this.name = name;
			this.address = address;
			this.zip = zip;
			this.city = city;
			this.setPhoneNumber(phoneNumber);
			this.setEmail(email);
			this.jobTitle = jobTitle;
			this.login = login;
			this.wage = wage;
		}
		
		/**
		 * creates an empty employee object.
		 */
		
		public Employee()
		{
			
		}
		
		/**
		 * Creates a employee object.
		 * @param empId The employee id of the employee. 
		 * @param name The name of the employee.
		 * @param address The adress of the employee.
		 * @param zip The zip code of the Employee.
		 * @param city The city of the employee.
		 * @param phoneNumber The phoneNumber of the employee.
		 * @param email The email of the employee.
		 * @param jobTitle The jobTitle of the employee.
		 * @param login The login name of the employee.
		 * @param wage The monthly wage of the employee. 
		 */
		
		public Employee(int empId, String name, String address, int zip, String city, int phoneNumber, String email, String jobTitle, String login, double wage) 
		{
			this.empId=empId;
			this.name = name;
			this.address = address;
			this.zip = zip;
			this.city = city;
			this.setPhoneNumber(phoneNumber);
			this.setEmail(email);
			this.jobTitle = jobTitle;
			this.login = login;
			this.wage = wage;
		}
		
		/**
		 * @return the empId
		 */
		public int getEmpId() {
			return empId;
		}

		/**
		 * @param empId the empId to set
		 */
		public void setEmpId(int empId) {
			this.empId = empId;
		}

		/**
		 * @return the name
		 */
		public String getName() {
			return name;
		}

		/**
		 * @param name the name to set
		 */
		public void setName(String name) {
			this.name = name;
		}

		/**
		 * @return the address
		 */
		public String getAddress() {
			return address;
		}

		/**
		 * @param address the address to set
		 */
		public void setAddress(String address) {
			this.address = address;
		}

		/**
		 * @return the zip
		 */
		public int getZip() {
			return zip;
		}

		/**
		 * @param zip the zip to set
		 */
		public void setZip(int zip) {
			this.zip = zip;
		}

		/**
		 * @return the city
		 */
		public String getCity() {
			return city;
		}

		/**
		 * @param city the city to set
		 */
		public void setCity(String city) {
			this.city = city;
		}

		/**
		 * @return the phoneNumber
		 */
		public int getPhoneNumber() {
			return phoneNumber;
		}

		/**
		 * @param phoneNumber the phoneNumber to set
		 */
		public void setPhoneNumber(int phoneNumber) {
			this.phoneNumber = phoneNumber;
		}

		/**
		 * @return the email
		 */
		public String getEmail() {
			return email;
		}

		/**
		 * @param email the email to set
		 */
		public void setEmail(String email) {
			this.email = email;
		}

		/**
		 * @return the jobTitle
		 */
		public String getJobTitle() {
			return jobTitle;
		}

		/**
		 * @param jobTitle the jobTitle to set
		 */
		public void setJobTitle(String jobTitle) {
			this.jobTitle = jobTitle;
		}

		/**
		 * @return the login
		 */
		public String getLogin() {
			return login;
		}

		/**
		 * @param login the login to set
		 */
		public void setLogin(String login) {
			this.login = login;
		}

		/**
		 * @return the wage
		 */
		public double getWage() {
			return wage;
		}

		/**
		 * @param wage the wage to set
		 */
		public void setWage(double wage) {
			this.wage = wage;
		}



}
